-- GENERATED SPELL FOR [Deviate Lasher] --


function spell0_5055(pUnit, Event) --@Wide Slash,n/a--
pUnit:FullCastSpellOnTarget(7342,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_5055', 552, 1)
end

function Sorts_5055(pUnit, Event)
local choix_sorts_5055 = math.random(0, 0)
if choix_sorts_5055 == 0 then
pUnit:RegisterEvent('spell0_5055', 1, 1)
end
end

function mob5055_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_5055', math.random(1500, 3000), 1)
end

function mob5055_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5055_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5055_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(5055, 1, 'mob5055_Action')
RegisterUnitEvent(5055, 2, 'mob5055_Leave')
RegisterUnitEvent(5055, 3, 'mob5055_Kill')
RegisterUnitEvent(5055, 4, 'mob5055_Die')
